/**
 * Created by Superlee on 2016/7/5.
 */
var query={};

query.queryStuInfo=function(req,res){
    console.log(req.body);
    var data=require('../data/stuInfo');
    // console.log(stuInfo);
    if(req.body.stuName.substring(0,1)==1){
        res.send(data.stuInfo1);
    }
    else{
        res.send(data.stuInfo2);
    }

};

module.exports=query;